from paddy_doctor import create_app

if __name__ == '__main__':
    print('main')
    app = create_app(config_name='development')
    app.run(debug=True, host='0.0.0.0', port=8000)
else:
    app = create_app(config_name='production')
